
package fabrica;

/**
 *
 * @author Dorya/Emmanuel
 */
public class Cliente {

    
    public GatoAbstracto gato2;
    public GatoAbstracto gato;
    public FabricaAbstracta fabrica;
    
    public Cliente(){
        
        FabricaAbstracta fc1 = new FabricaConcreta1();
        FabricaAbstracta fc2 = new FabricaConcreta2();
        
        gato = fc1.crearGato();
        
        gato2 = fc2.crearGato();
    }
}
